package com.app.admin.pojo.po;

import com.app.core.mybatis.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author qiangt
 * @version 1.0
 * @date 2024/2/4 11:24
 * @description: 自增序列号锁
 */
@Data
@ApiModel(value = "序列号", description = "")
@TableName("t_serial_number")
public class SerialNumber extends BaseEntity {
    /** 类型;比如订单、任务等 */
    @ApiModelProperty(name = "类型", notes = "比如订单、任务等")
    private String serialType;
    /** 分组;可以按日期、模块等分组 */
    @ApiModelProperty(name = "分组", notes = "可以按日期、模块等分组")
    private String serialGroup;
    /** 当前值 */
    @ApiModelProperty(name = "当前值", notes = "")
    private Long currentValue;
}
